﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="DropWaterLog.aspx.cs" Inherits="LotteryVote.DropWaterLog" %>

<%@ Register Src="~/Controls/TodayCompanyList.ascx" TagPrefix="LV" TagName="CompanyList" %>
<%@ Register Src="~/Controls/GamePlayWayList.ascx" TagPrefix="LV" TagName="GamePlayWay" %>
<asp:Content ID="Header" ContentPlaceHolderID="head" runat="server">
    <script src="JS/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
    <script src="JS/jquery.ui.datepicker.min.js" type="text/javascript"></script>
    <link href="UI/start/jquery.ui.datepicker.css" rel="stylesheet" type="text/css" />
    <link href="Style/TableBaseStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="main" runat="server">
    <div id="searchBar">
        <span>
            <%=GetGlobalResourceObject("Resource","Time") %>:</span>
        <asp:TextBox ID='txt_date' runat="server"></asp:TextBox>
        <span>
            <%=GetGlobalResourceObject("Resource","Num") %>:</span>
        <asp:TextBox ID="txt_num" runat="server"></asp:TextBox>
        <span>
            <%=GetGlobalResourceObject("Resource","Company") %>: </span>
        <LV:CompanyList ID="lv_company" runat="server" />
        <span>
            <%=GetGlobalResourceObject("Resource","GameType") %>:</span>
        <LV:GamePlayWay ID="lv_gameplayway" runat="server" />
        <asp:Button ID="btn_search" runat="server" 
            Text="<%$Resources:Resource,Search %>" onclick="btn_search_Click" />
    </div>
    <asp:Repeater ID="rpt_dropwater" runat="server">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0">
                <thead>
                    <tr>
                        <td colspan="2">
                        <%=GetGlobalResourceObject("Resource","DropWater") %>
                        </td>
                    </tr>
                </thead>
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
        <tr>
            <td><%#Eval("Num") %></td>
            <td><%#Eval("DropValue") %></td>
        </tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody> </table></FooterTemplate>
    </asp:Repeater>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#<%=txt_date.ClientID %>").attr("readonly", "readonly").datepicker();
        });
    </script>
</asp:Content>
